package com.nuoye.camera2studydemo.fragment;

import com.nuoye.camera2studydemo.ChickConsumer;
import com.nuoye.camera2studydemo.base.Camera2ControlFragment;

import java.util.ArrayList;
import java.util.List;

/**
 * 预览。对焦
 */
public class CameraPreviewAFFragment extends Camera2ControlFragment {
    @Override
    protected List<ChickConsumer> getControls() {
        List<ChickConsumer> chickConsumers = new ArrayList<>();
        chickConsumers.add(new ChickConsumer("自动对焦", s -> {
           // builder.set();
            applyRequest();
        }));
        return chickConsumers;
    }
}
